package com.chen.service;

import com.chen.pojo.ClassQueryParam;
import com.chen.pojo.ClassRoom;
import com.chen.pojo.PageResult;

import java.util.List;

public interface ClassService {
    PageResult<ClassRoom> page(ClassQueryParam classQueryParam);

    void delete(Integer id);

    void add(ClassRoom classRoom);

    ClassRoom getInfoById(Integer id);

    void updateInfo(ClassRoom classRoom);

    List<ClassRoom> findall();
}
